<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:p="http://primefaces.org/ui" xmlns:a4j="http://richfaces.org/a4j"
	xmlns:c="http://java.sun.com/jsp/jstl/core">

	<h:panelGrid id="display" columns="2" cellpadding="4"
		style="width:400px;" styleClass="ui-widget-content"
		columnClasses="label, value">

		<f:facet name="header">
			<center>
				<h:outputText value="Özellikler" />
			</center>
			<br></br>
		</f:facet>

		<h:outputText value="Firma:" />
		<h:outputText id="urunFirmaIsim"
			value="#{Mp3ipodBean.selectedMp3ipod.sirketprofil.firmaAd}" />

		<h:outputText value="Marka:" />
		<p:inputText id="urunMarka"
			value="#{Mp3ipodBean.selectedMp3ipod.aygit.marka}" />

		<h:outputText value="Model:" />
		<p:inputText id="firmaModel"
			value="#{Mp3ipodBean.selectedMp3ipod.aygit.model}" />

		<h:outputText value="Kapasite:" />
		<p:inputText id="urunKapasite"
			value="#{Mp3ipodBean.selectedMp3ipod.kapasite}" />

		<h:outputText value="Format Destek:" />
		<p:inputText id="urunFormatDestek"
			value="#{Mp3ipodBean.selectedMp3ipod.formatDestek}" />

		<h:outputText value="LCD Ekran:" />
		<p:inputText id="urunLcdEkran"
			value="#{Mp3ipodBean.selectedMp3ipod.lcdEkran}" />

		<h:outputText value="Pil Çesidi:" />
		<p:inputText id="urunPilCesidi"
			value="#{Mp3ipodBean.selectedMp3ipod.pilCesidi}" />

		<h:outputText value="Pil Suresi:" />
		<p:inputText id="urunPilSuresi"
			value="#{Mp3ipodBean.selectedMp3ipod.pilSuresi}" />

		<h:outputText value="Boyutları:" />
		<p:inputText id="urunboyutlari"
			value="#{Mp3ipodBean.selectedMp3ipod.boyutlari}" />

		<h:outputText value="Ağırlık:" />
		<p:inputText id="urunAgirlik"
			value="#{Mp3ipodBean.selectedMp3ipod.agirlik}" />

		<h:outputText value="Baglantı Tipi:" />
		<p:inputText id="urunBaglantiTipi"
			value="#{Mp3ipodBean.selectedMp3ipod.baglantiTipi}" />

		<h:outputText value="Renk:" />
		<p:inputText id="urunRenk"
			value="#{Mp3ipodBean.selectedMp3ipod.renk}" />

		<h:outputText value="FM Radio:" />
		<p:inputText id="urunFmRadio"
			value="#{Mp3ipodBean.selectedMp3ipod.fmRadio}" />

		<h:outputText value="Video Destek:" />
		<p:inputText id="urunvideoDestek"
			value="#{Mp3ipodBean.selectedMp3ipod.videoDestek}" />

		<h:outputText value="Fotoğraf Desteği:" />
		<p:inputText id="urunFotografDestek"
			value="#{Mp3ipodBean.selectedMp3ipod.fotografDestek}" />

		<h:outputText value="Çoklu Dil Desteği:" />
		<p:inputText id="urunCokluDilDestek"
			value="#{Mp3ipodBean.selectedMp3ipod.cokluDilDestek}" />

		<h:outputText value="Garanti Suresi:" />
		<p:inputText id="urunGarantiSuresi"
			value="#{Mp3ipodBean.selectedMp3ipod.garantiSuresi}" />
	</h:panelGrid>
	<c:if test="#{AygitBean.yeniUrun==false}">

		<p:dataGrid var="resim" value="#{ResimlerBean.selectedAygitResimList}"
			columns="3" rows="6" paginator="true" id="resimListesi"
			paginatorTemplate="{CurrentPageReport}  {FirstPageLink} {PreviousPageLink} 
					{PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}"
			rowsPerPageTemplate="3,6,9">

			<p:column>
				<p:panel>
					<h:panelGrid columns="1" style="width:100%">
						<p:graphicImage value="#{resim.resimKonum}"
							style="height:100px; width:90px;" />

						<p:commandButton value="Delete" update=":urunislemForm"
							id="DeletePictures"
							action="#{ResimlerBean.deleteAygitFile(resim)}" />

					</h:panelGrid>
				</p:panel>
			</p:column>

		</p:dataGrid>

	</c:if>
	<ui:include src="uploadPictures.xhtml" />
</ui:composition>